package com.asman.worker

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_test_live.*

class LiveTestActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_test_live)
        videoPlayer.setUp(
            "http://9890.vod.myqcloud.com/9890_4e292f9a3dd011e6b4078980237cc3d3.f20.mp4",
//            "rtmp://stream.morecanai.com/live/ZH719901992?morecantokenendtime=1571039571&morecantokenstarttime=1571038971&morecantokenhash=Wf0Iczd1Y4ewWvtiVW2n4c2s7QwD0aFwYJnL8uRb7hA=",
            false,
            "AAAA"
        )
        videoPlayer.startPlayLogic()
    }
}
